import request from '@/utils/request'

export function getpatientstats(date) {
  return request({
    url: '/patientstats/age/'+date,
    method: 'get'
  })
}


export function getGernderpatientstats(date) {
  return request({
    url: '/patientstats/gender/'+date,
    method: 'get'
  })
}

export function getMatralpatientstats(date) {
  console.log("api");
  return request({
    url: '/patientstats/matail/'+date,
    method: 'get'
  })
 }

 export function patientVisitDistributed(date) {
  console.log("api");
  return request({
    url: '/patientstats/visit/'+date,
    method: 'get'
  })
 }
